#ifndef LOG_ACTOR_H
#define LOG_ACTOR_H
#include "SimpleActor.h"
#include <singleton.h>

class CLogActor : public CSimpleActor, public CSingleton<CLogActor>
{
    friend class CSingleton<CLogActor>;
public:
    // explict constructor
    CLogActor(CSimpleActor * pParent = NULL)
        : CSimpleActor(pParent)
    {}

    // get the class name
    virtual const char * GetTypeName() const { return "CLogActor"; }

protected:
    //user-defined behavior implementation hooks
    virtual bool _Receive(TEvent event);

    // user-defined exception behavior implementation hooks
    virtual bool _ReceiveException(tbb::tbb_exception& e, TEvent event);

};

#endif  // endif of LOG_ACTOR_H
